package entity;
import java.util.ArrayList;
import java.util.List;

public class Restaurant {
    private String id;
    private String name;
    private String category;
    private String status;
    private List<Dish> dishes;

    public Restaurant(String id, String name, String category, String status) {
        this.id = id;
        this.name = name;
        this.category = category;
        this.status = status;
        this.dishes = new ArrayList<>();
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getCategory() {
        return category;
    }

    public String getStatus() {
        return status;
    }

    public List<Dish> getDishes() {
        return dishes;
    }

    public void addDish(Dish dish) {
        dishes.add(dish);
    }
}
